<h1>『<%=Pickup::DEFAULT_TYPE[params[:id].to_i]%>』新推荐</h1>
<%= render :partial => 'menu' %>
<% if @pickups.empty? %>
<p>此类下暂无推荐</p>
<% else %>
<% @pickups.each do |pickup| %>
<p><b>av<%= pickup.avid %> | <%= link_to h(pickup.wname), :action => :show, :id => pickup.id %> |</b>
<span class="d_list_s">
<%= link_to "[通过]", {:action => :allow, :id => pickup.id}, :onclick => "return confirm('确定通过av#{pickup.avid}的推荐吗？');" %>
<%= link_to "[忽略]", {:action => :ignore, :id => pickup.id}, :onclick => "return confirm('确定忽略av#{pickup.avid}的推荐吗？');" %>
</span>
</p>
<p>推荐提交日期：<% if pickup.ptype == 5 %>（代提交）<% else %><%=pickup.created_at%><% end %></p>
<ul><li><%= pickup.reason %></li></ul><hr/>
<% end %>
<% end %>
